/*
 * Copyright (C) 2010 TopCoder Inc., All Rights Reserved.
 */
package com.hercules.android.receiver.entities;

/**
 * <p>
 * A POJO contains the data of XRERectangle resource.
 * </p>
 * 
 * @author TCSASSEMBER
 * @version 1.0
 */
public class XRERectangle extends XREObject {
    /**
     * Represents the color used to fill the rectangle.
     */
    private Integer color;

    /**
     * Represents the color used for the border.
     */
    private Integer borderColor;

    /**
     * Represents the thickness to be used for the border.
     */
    private Double borderThickness;

    /**
     * Default constructor. Set the default values.
     */
    public XRERectangle() {
        super();
        color = 0xffffffff;
        borderColor = 0xff000000;
        borderThickness = 0.0;
    }

    /**
     * Gets the color used to fill the rectangle.
     * 
     * @return the color used to fill the rectangle
     */
    public Integer getColor() {
        return color;
    }

    /**
     * Sets the color used to fill the rectangle.
     * 
     * @param color
     *            the color used to fill the rectangle
     */
    public void setColor(Integer color) {
        this.color = color;
    }

    /**
     * Gets the color used for the border.
     * 
     * @return the color used for the border
     */
    public Integer getBorderColor() {
        return borderColor;
    }

    /**
     * Sets the color used for the border.
     * 
     * @param borderColor
     *            the color used for the border.
     */
    public void setBorderColor(Integer borderColor) {
        this.borderColor = borderColor;
    }

    /**
     * Gets the thickness to be used for the border.
     * 
     * @return the thickness to be used for the border.
     */
    public Double getBorderThickness() {
        return borderThickness;
    }

    /**
     * Sets the thickness to be used for the border.
     * 
     * @param borderThickness
     *            the thickness to be used for the border
     */
    public void setBorderThickness(Double borderThickness) {
        this.borderThickness = borderThickness;
    }

}
